<?php
/**
 * Created by PhpStorm
 * User: Jhinwy
 * Date: 3/27/24
 * Time: 5:45 PM
 */

namespace app\common\model\media;

use app\common\model\BaseModel;


class Media extends BaseModel
{
    protected $name = 'media';


    const SOURCE_JL = 1;    // 巨量
    const SOURCE_UC = 2;    // UC
    const SOURCE_KS = 3;    // 快手
    const SOURCE_BD = 4;    // 百度
    const SOURCE_OPPO = 5;    // OPPO
    const SOURCE_VIVO = 6;    // VIVO

    public static $mediaMapping = [
        [
            'id'    => self::SOURCE_JL,
            'label' => '巨量'
        ],
        [
            'id'    => self::SOURCE_UC,
            'label' => 'UC'
        ],
        [
            'id'    => self::SOURCE_KS,
            'label' => '快手'
        ],
        [
            'id'    => self::SOURCE_BD,
            'label' => '百度'
        ],
        [
            'id'    => self::SOURCE_OPPO,
            'label' => 'OPPO'
        ],
        [
            'id'    => self::SOURCE_VIVO,
            'label' => 'VIVO'
        ],
    ];
}
